
package com.wyzz.hr.base;

public class TreeNode {

	public int getIsEmpty() {
		return isEmpty;
	}

	public void setIsEmpty(int isEmpty) {
		this.isEmpty = isEmpty;
	}

	public String getNodeId() {
		return nodeId;
	}

	public TreeNode() {
		isEmpty = 0;
	}

	public TreeNode(String nodeId, String nodeName, String nodeParentId,
			int nodeType) {
		isEmpty = 0;
		setNodeId(nodeId);
		setNodeName(nodeName);
		setNodeParentId(nodeParentId);
		setNodeType(nodeType);
	}

	public TreeNode(String nodeId, String nodeName, String nodeParentId,
			int nodeType, int nodeStatus) {
		isEmpty = 0;
		setNodeId(nodeId);
		setNodeName(nodeName);
		setNodeParentId(nodeParentId);
		setNodeType(nodeType);
		setNodeStatus(nodeStatus);
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getNodeParentId() {
		return nodeParentId;
	}

	public void setNodeParentId(String nodeParentId) {
		this.nodeParentId = nodeParentId;
	}

	public void setNodeType(int nodeType) {
		this.nodeType = nodeType;
	}

	public int getNodeType() {
		return nodeType;
	}

	public int getIsParent() {
		return isParent;
	}

	public void setIsParent(int isParent) {
		this.isParent = isParent;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public int getNodeStatus() {
		return nodeStatus;
	}

	public void setNodeStatus(int nodeStatus) {
		this.nodeStatus = nodeStatus;
	}

	private String nodeId;
	private String nodeName;
	private String nodeParentId;
	private int nodeType;
	private int nodeStatus;
	private int isEmpty;
	private int isParent;
	private String empId;
}
